﻿<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
  </head>
  <body>
	<div><b>专用论坛，严禁骚扰</b>    <a href="{{ url }}">{{ url_linktext }}</a></div>
	<div>
    {% for greeting in greetings %}
	  On {{ greeting.date }}, 
      {% if greeting.author %}
        <b>{{ greeting.author.nickname }}</b> wrote:
      {% else %}
       An anonymous person wrote:
      {% endif %}
      <blockquote>{{ greeting.content|escape }}</blockquote>
    {% endfor %}
	<div>
	{% if prePageNo %}
	<a href="/?pageNo={{prePageNo}}">< Newer</a>
	{% endif %}
	{{start}} - {{end}} of {{ count }}  
	{% if nextPageNo %}
	<a href="/?pageNo={{nextPageNo}}">Older ></a>
	{% endif %}
	</div>
    <form action="/sign" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></div>
      <div><input type="submit" value="Sign Guestbook"></div>
    </form>
	</div>
  </body>
</html>